com.justhis.control
Class CommandController

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.justhis.control.CommandController
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class CommandController
extends javax.servlet.http.HttpServlet
implements javax.servlet.Servlet

controller of MVC. control system action;

Version:
$Revision: 1.1 $
Author:
acai
See Also:
Serialized Form

Constructor Summary
CommandController()
           
 
Method Summary
 void destroy()
           
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 javax.servlet.ServletConfig getServletConfig()
          TODO
 void init(javax.servlet.ServletConfig config)
          Init the servlet
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.Servlet
getServletInfo, service
 

Constructor Detail

CommandController

public CommandController()
Method Detail

init

public final void init(javax.servlet.ServletConfig config)
                throws javax.servlet.ServletException
Init the servlet

Specified by:
init in interface javax.servlet.Servlet
Throws:
javax.servlet.ServletException

getServletConfig

public final javax.servlet.ServletConfig getServletConfig()
TODO

Specified by:
getServletConfig in interface javax.servlet.Servlet
Returns:
TODO

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet

doPost

protected void doPost(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.servlet.ServletException,
                      java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
See Also:
Servlet.destroy()


Copyright © 2003 EastNetworks.Net(China)Co.,Ltd.. All Rights Reserved.